Conditions | 2 |
Paths | 1 |
Total Lines | 10 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | var blocktrail = require('../'); // require('blocktrail-sdk') when trying example from in your own project |
||
29 | }, function(e) { |
||
30 | if (e.message.match(/already exists/)) { |
||
31 | return client.initWallet({ |
||
32 | identifier: identifier, |
||
33 | passphrase: passphrase |
||
34 | }); |
||
35 | } else { |
||
36 | throw e; |
||
37 | } |
||
38 | }); |
||
39 | }; |
||
64 |